package com.edu.hibernate;

import java.sql.Timestamp;

/**
 * Event entity. @author MyEclipse Persistence Tools
 */

public class Event implements java.io.Serializable {

	// Fields

	private Integer eventId;
	private Integer classId;
	private String title;
	private String shortContent;
	private String contents;
	private String img;
	private Timestamp createDate;
	private String createBy;
	private Boolean eventType;
	private Boolean isExperient;

	// Constructors

	/** default constructor */
	public Event() {
	}

	/** minimal constructor */
	public Event(Integer eventId) {
		this.eventId = eventId;
	}

	/** full constructor */
	public Event(Integer eventId, Integer classId, String title,
			String shortContent, String contents, String img,
			Timestamp createDate, String createBy, Boolean eventType,
			Boolean isExperient) {
		this.eventId = eventId;
		this.classId = classId;
		this.title = title;
		this.shortContent = shortContent;
		this.contents = contents;
		this.img = img;
		this.createDate = createDate;
		this.createBy = createBy;
		this.eventType = eventType;
		this.isExperient = isExperient;
	}

	// Property accessors

	public Integer getEventId() {
		return this.eventId;
	}

	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}

	public Integer getClassId() {
		return this.classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getShortContent() {
		return this.shortContent;
	}

	public void setShortContent(String shortContent) {
		this.shortContent = shortContent;
	}

	public String getContents() {
		return this.contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Boolean getEventType() {
		return this.eventType;
	}

	public void setEventType(Boolean eventType) {
		this.eventType = eventType;
	}

	public Boolean getIsExperient() {
		return this.isExperient;
	}

	public void setIsExperient(Boolean isExperient) {
		this.isExperient = isExperient;
	}

}